﻿<Window x:Class="Wormhole.UI.Application.Dialogs.JoinGame.OpenGames"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		Icon="/Wormhole.UI.Application;component/images/icon.png"
    Title="Game List" Height="346" Width="592" ShowInTaskbar="False" WindowStartupLocation="CenterOwner">
    <Grid>
		<!--<ListView ItemsSource="{c=
                       {StaticResource EmployeeInfoDataSource}}">-->

		<Button Height="23" Margin="0,0,105,11" Name="btnJoin" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" IsEnabled="False" Click="btnJoin_Click">_Join</Button>
		<Button Height="23" HorizontalAlignment="Right" Name="btnCreate" VerticalAlignment="Bottom" Width="75" Margin="0,0,19,11" Click="btnCreate_Click">_Create</Button>
		<ListView Name="lstGames" Margin="13,14,19,45" SelectionMode="Single" SelectionChanged="lstGames_SelectionChanged">
			<ListView.View>
				<GridView AllowsColumnReorder="True">
					<GridViewColumn Header="Player" DisplayMemberBinding="{Binding Path=OpponentName}" Width="150" />
					<GridViewColumn Header="Description" DisplayMemberBinding="{Binding Path=Description}" Width="350" />
				</GridView>
			</ListView.View>
		</ListView>
	</Grid>
</Window>
